package com.itfreer.demo.form;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.itfreer.bpm.api.BaseWorkFlowService;
import com.itfreer.bpm.api.BpmBaseRestService;

import io.swagger.annotations.Api;

/**
 * 简单表单示例
 */
@RestController
@RequestMapping("/simpleform")
@Api("简单表单示例")
public class RestSimpleFormService extends BpmBaseRestService<SimpleFormEntity> {

	@Autowired(required = false)
	private SimpleFormService service;

	@Override
	protected BaseWorkFlowService<SimpleFormEntity> getWorkFlowService() {
		return service;
	}
}
